package com.eastmoney.emis.edda.infrastructure.exception;

import com.eastmoney.emis.utils.common.exception.BusinessException;

/**
 * @description: Description
 * @projectName: EDDA-HSBC
 * @package: com.eastmoney.emis.edda.domain.valueobject
 * @author: 汪程程
 * @date: 2022/10/15 1:24 PM
 * @version: 1.0
 */
public class EddaException extends BusinessException {

    public EddaException(EddaExceptionStatus status) {
        super(status.code(), status.message());
    }

    public EddaException(EddaExceptionStatus status, String message) {
        super(status.code(), message);
    }

    public EddaException(EddaExceptionStatus status, String message, boolean isError) {
        super(status.code(), message, isError);
    }
}
